package com.jd.sunny.java.multithreading.thread;

import org.apache.log4j.Logger;

public class TestPrintUserRunnable {

    final Logger logger = Logger.getLogger(TestThread.class);

    /**
     * @param args
     */
    public static void main(String[] args) {
        User user = new User("sunlin", "xiaozhi", 100);
        PrintUserRunnable pur = new PrintUserRunnable();
        pur.setUser(user);
        Thread userThread = new Thread(pur);
        userThread.start();

    }

}
